- I recommend the Pixel 9 to most people looking to upgrade - especially while it's $250 off
- Google's viral research assistant just got its own app - here's how it can help you
- Sony will give you a free 55-inch 4K TV right now - but this is the last day to qualify
- I've used virtually every Linux distro, but this one has a fresh perspective
- The 7 gadgets I never travel without (and why they make such a big difference)
How to flush the DNS cache in Linux
systemctl is-active systemd-resolved
sudo systemd-resolve --flush-caches
$ systemd-resolve --statistics
systemctl restart systemd-resolved.service
How to flush the DNS cache when using BIND
sudo rndc dumpdb -cache
sudo rndc flush
sudo cat /var/named/data/cache_dump.db
How to flush the DNS cache when using Dnsmasq
systemctl is-active dnsmasq
service dnsmasq status
sudo systemctl restart dnsmasq
sudo service dnsmasq restart
How to flush the DNS cache when using nscd
systemctl is-active nscd
service nscd status
sudo nscd --invalidate=hosts
sudo nscd -g
$ sudo nscd -g